<html>
<head><meta charset="utf-8"><title>flame graphs · t-compiler/wg-self-profile · Zulip Chat Archive</title></head>
<h2>Stream: <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/index.html">t-compiler/wg-self-profile</a></h2>
<h3>Topic: <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html">flame graphs</a></h3>

<hr>

<base href="https://rust-lang.zulipchat.com">

<head><link href="https://rust-lang.github.io/zulip_archive/style.css" rel="stylesheet"></head>

<a name="163807783"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/163807783" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#163807783">(Apr 20 2019 at 15:31)</a>:</h4>
<p>I hacked together a stack-collapse program for <code>measureme</code> and it ... seems to work? </p>
<p><a href="/user_uploads/4715/Y66yrgBYGpAw4mk0xXR5-LIH/rustc.svg" target="_blank" title="rustc.svg">rustc.svg</a></p>



<a name="163813849"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/163813849" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> simulacrum <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#163813849">(Apr 20 2019 at 18:26)</a>:</h4>
<p>Great!</p>



<a name="164061866"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164061866" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> mw <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164061866">(Apr 24 2019 at 08:04)</a>:</h4>
<p>woah, nice!</p>



<a name="164188088"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164188088" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164188088">(Apr 25 2019 at 16:51)</a>:</h4>
<p>btw <span class="user-mention" data-user-id="125250">@Wesley Wiser</span> do you know about <a href="https://www.speedscope.app/" target="_blank" title="https://www.speedscope.app/">https://www.speedscope.app/</a> a simple frontend for flamegraphs, could be useful. (I'm not sure if prlo would generate flamegraphs but if it was the case, maybe we could also embed it there heh)</p>



<a name="164188200"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164188200" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164188200">(Apr 25 2019 at 16:53)</a>:</h4>
<p>I did not. That's very cool!</p>



<a name="164188254"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164188254" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164188254">(Apr 25 2019 at 16:53)</a>:</h4>
<p>Being able to click a link and get an in-browser flamegraph from anything in perf.rlo would be amazing</p>



<a name="164188523"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164188523" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164188523">(Apr 25 2019 at 16:57)</a>:</h4>
<p>yeah like the firefox profiler :)</p>



<a name="164188628"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164188628" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164188628">(Apr 25 2019 at 16:58)</a>:</h4>
<p>I've looked at supporting ff profiler as an output format but I'm still trying to wrap my brain around the json format it expects</p>



<a name="164188647"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164188647" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164188647">(Apr 25 2019 at 16:58)</a>:</h4>
<p>The Chrome one is easy but chokes on large files</p>



<a name="164188724"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164188724" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164188724">(Apr 25 2019 at 16:59)</a>:</h4>
<p>yeah</p>



<a name="164188835"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164188835" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164188835">(Apr 25 2019 at 17:00)</a>:</h4>
<p>I've looked at it at the time of <a href="https://github.com/rust-lang/rust/issues/43804" target="_blank" title="https://github.com/rust-lang/rust/issues/43804">#43804</a> and some people from moz told me it should be possible to use the data format. I was worried it was tied to gecko, C++, js, etc but apparently not</p>



<a name="164188990"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164188990" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164188990">(Apr 25 2019 at 17:02)</a>:</h4>
<p>Yeah, I've seen some docs for ff but I haven't really gotten a chance to get it working</p>



<a name="164189034"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164189034" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164189034">(Apr 25 2019 at 17:03)</a>:</h4>
<p>I have a few commits that add the Chrome version of the tool. I should polish that up and get it merged</p>



<a name="164250604"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164250604" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> Wesley Wiser <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164250604">(Apr 26 2019 at 10:43)</a>:</h4>
<p><span class="user-mention" data-user-id="116113">@lqd</span> <a href="https://github.com/rust-lang/measureme/pull/34" target="_blank" title="https://github.com/rust-lang/measureme/pull/34">https://github.com/rust-lang/measureme/pull/34</a></p>



<a name="164255065"></a>
<h4><a href="https://rust-lang.zulipchat.com#narrow/stream/187831-t-compiler/wg-self-profile/topic/flame%20graphs/near/164255065" class="zl"><img src="https://rust-lang.github.io/zulip_archive/assets/img/zulip.svg" alt="view this post on Zulip" style="width:20px;height:20px;"></a> lqd <a href="https://rust-lang.github.io/zulip_archive/stream/187831-t-compiler/wg-self-profile/topic/flame.20graphs.html#164255065">(Apr 26 2019 at 12:03)</a>:</h4>
<p>:O awesome</p>



<hr><p>Last updated: Aug 07 2021 at 22:04 UTC</p>
</html>